package com.bjh.service;

import java.util.Map;

public interface WalletService {
    /**
     * 获取代理商保证金
     * @param agentId 代理商id
     * @return {@link Map}
     * @throws Exception Exception
     */
    Map<String, Object> getBond (Long agentId) throws Exception;

    /**
     * 获取代理商保证金记录
     * @param params 相关参数
     * @return {@link Map}
     * @throws Exception Exception
     */
    Map<String, Object> getBondLog (Map<String, Object> params) throws Exception;

    /**
     * 获取代理商钱包
     * @param agentId 代理商id
     * @return {@link Map}
     * @throws Exception Exception
     */
    Map<String, Object> getWallet (Long agentId) throws Exception;

    /**
     * 获取代理商钱包明细记录
     * @param params 相关参数
     * @return {@link Map}
     * @throws Exception Exception
     */
    Map<String, Object> getWalletLog (Map<String, Object> params) throws Exception;

    /**
     * 获取优惠券列表
     * @param params 相关参数
     * @return {@link Map}
     * @throws Exception Exception
     */
    Map<String, Object> getCouponList (Map<String, Object> params) throws Exception;
}
